0f11f23328845854f60cc9c4cf2f6b5906d2ed5c,src/java/org/orbeon/oxf/util/URLRewriterUtils.java,URLRewriterUtils,isNonPlatformPathAppPath,#String#,311

Before Change


    public static boolean isNonPlatformPathAppPath(String absolutePathNoContext) {
        final String regexp = Properties.instance().getPropertySet().getString(REWRITING_APP_PATHS_PROPERTY, null);
        // TODO: do not compile the regexp every time
        return regexp != null && new Perl5MatchProcessor().match(regexp, absolutePathNoContext).matches;
    }

    /**

After Change


    public static boolean isNonPlatformPathAppPath(String absolutePathNoContext) {
        final String regexp = Properties.instance().getPropertySet().getString(REWRITING_APP_PATHS_PROPERTY, null);
        // TODO: do not compile the regexp every time
        return regexp != null && new RegexpProcessor().regexpMatch(regexp, absolutePathNoContext).matches();
    }

    /**